
import { AppViewBase, VueLifeCycleProcessing } from 'ibiz-vue';
import { Component } from 'vue-property-decorator';
import { AppIndexViewBase,AppLayoutService } from 'ibiz-vue';
import { Provide } from 'vue-property-decorator';


/**
 * 人事管理首页插件类
 *
 * @export
 * @class EhrAppIndex
 * @extends {Vue}
 */
@Component({})
@VueLifeCycleProcessing()
export class EhrAppIndex extends AppIndexViewBase {

    
        /**
        * 应用首页视图渲染
        * 
        * @memberof IndexView
        */
    render(h: any) {
        if (!this.viewIsLoaded) {
            return null;
        }
        return h('AppUserIndexViewLayout', {
            props: { viewInstance: this.viewInstance, model: this.model, modelService: this.modelService, viewparams: this.viewparams, context: this.context },
            on: {
                onCollapseChange: (collapseChange: any) => { this.collapseChange = collapseChange },
            }
        }, [
            this.renderMainContent()
        ]);
    }

}
